package com.zuthub.system.domain;

import com.zuthub.common.annotation.Excel;
import com.zuthub.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 赞助管理对象 sys_sponsorship
 * 
 * @author zuthub
 * @date 2021-04-02
 */
public class SysSponsorship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 赞助id */
    private Long sponsorshipId;

    /** 赞助商id */
    @Excel(name = "赞助商id")
    private Long sponsorId;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 赞助金额 */
    @Excel(name = "赞助金额")
    private Long money;

    public void setSponsorshipId(Long sponsorshipId) 
    {
        this.sponsorshipId = sponsorshipId;
    }

    public Long getSponsorshipId() 
    {
        return sponsorshipId;
    }
    public void setSponsorId(Long sponsorId) 
    {
        this.sponsorId = sponsorId;
    }

    public Long getSponsorId() 
    {
        return sponsorId;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setMoney(Long money) 
    {
        this.money = money;
    }

    public Long getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("sponsorshipId", getSponsorshipId())
            .append("sponsorId", getSponsorId())
            .append("description", getDescription())
            .append("money", getMoney())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
